import { request } from "@/utils/service"

export function getRouteByApi(id: bigint) {
  return request({
    url: "admin/auth/getRoutes",
    method: "get",
    params: { role_id: id }
  })
}
